import Vue from 'vue'
import Vuex from 'vuex'
import category from './modules/category.js'
import website from './modules/website.js'
import product from './modules/product.js'
import cart from './modules/cart.js'
import customer from './modules/customer.js'
import address from './modules/address.js'
import order from './modules/order.js'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    category,
    website,
    product,
    cart,
    customer,
    address,
    order
  }
})
